package com.velpro.im.controller.msg;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description= "返回响应数据")
public class ObjectResponse <T> extends BaseResponse{

	@ApiModelProperty(value = "响应数据")
	T data;

    public ObjectResponse<T> data(T data) {
        this.setData(data);
        return this;
    }
    
    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
